package es.uclm.itsue.interfaces;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class TextViewActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.textview_layout);
        
       
        TextView tv1 = (TextView) findViewById(R.id.textView1);
        
        TextView tv2 = (TextView) findViewById(R.id.textView2);
        tv2.setText(tv1.getText());   
    }
}